.wea-edc-fp-wrapper {
  position: absolute;
  top: 50px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(237, 240, 248);
  overflow: auto;

  & > div {
    margin: 0 auto;
    height: 100%;
  }

  .mobile-device{
    padding: 20px 10px;
    &>div{
      width: 100%;
      height: inherit;
      background: #fff;
      padding: 0;
    }
    .wea-edc-preview-warn{
      background-color: inherit;
      min-height: auto;
    }
  }

  &.fp_desktop {
    .fp_main {
      width: 800px;
      margin: 0 auto;
      padding: 40px 0;
    }
  }

  &.fp_mobile {
    & > div {
      position: relative;
      width: 380px;
      height: 759px;
      margin: 40px auto;
      background: url(/edc/images/iPhone7_PLUS.png);
    }

    .fp_main {
      position: absolute;
      top: 84px;
      left: 24px;
      right: 26px;
      bottom: 88px;
      overflow-x: hidden;
      overflow-y: auto;
    }

    .wev-edc-form-footer__view  {
      button {
        width: 100%;
      }
    }

    .wea-edc-upload-img > div{
      max-height: 100px;
    }
  }
  .wea-edc-preview-warn {
    label {
      color: #FF2851;
      font-size: 14px;
    }
    &::before {
    content: "*";
    padding: 0 5px;
    color: transparent;
    background-image: url(/images/BacoError_wev9.png);
    background-repeat: no-repeat;
    background-position: 50%;
    }
  }
}
.edc-form-preview {
  width: 100%;
  height: 100%;
  .ant-spin-nested-loading, .ant-spin-container {
    height: 100%;

    .wea-edc-hidden_input-view {
      display: none;
    }
  }
}